<template>
  <div>
    <el-form-item :label="prop.name" :prop="formItemProp ? formItemProp : prop.id" :rules="rules" v-show="showComponent">
      <template slot="label">
        <rva-form-config :prop="prop"></rva-form-config>
      </template>
      <el-radio-group v-bind:value="value" @input="$emit('input', $event)">
        <el-radio
            v-for="dict in dictData"
            :key="dict.dictValue"
            :label="dict.dictValue"
            :disabled="disabled"
        >{{dict.dictLabel}}</el-radio>
      </el-radio-group>
    </el-form-item>
  </div>
</template>

<script>
import formInput from "@/api/rva/form-input";

export default {
  mixins: [formInput],
}
</script>
